package com.hippo.core.pojo.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * rule
 * @author 
 */
@Data
@TableName(value = "rule")
@Schema(name = "Rule", description = "规则")
public class Rule implements Serializable {
    /**
     * 主键ID
     */
    @Schema(name = "id", description = "主键ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 规则路径
     */

    /**
     * 规则名称
     */
    @Schema(name = "ruleName", description = "规则名称")
    @TableField(value = "rule_name")
    private String ruleName;

    /**
     * 规则描述
     */
    @Schema(name = "ruleDesc", description = "规则描述")
    @TableField(value = "rule_desc")
    private String ruleDesc;


    /**
     * 规则
     */
    @Schema(name = "rules", description = "规则")
    @TableField(value = "rules")
    private String rules;

    /**
     * 状态
     */
    @Schema(name = "status", description = "状态")
    @TableField(value = "status",fill = FieldFill.INSERT)
    private Short status;

    private static final long serialVersionUID = 1L;
}